package net.hn.hnms.biz.analysis.controller;

import net.hn.hnms.biz.analysis.service.IDataJudgeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/analysis")
public class TestController {

    @Resource
    private IDataJudgeService dataJudgeService;

    @GetMapping("/dataJudge")
    public void dataJudge() {
        dataJudgeService.MineJudgeScores();
    }

    @GetMapping("/noLeader")
    public void noLeader() {
        dataJudgeService.noLeader();
    }

}
